import Vue from "vue";
import Router from "vue-router";
import HelloWorld from "@/components/HelloWorld";
import Index from "@/components/Index";
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/home",
      name: "HelloWorld",
      component: HelloWorld
    },
    {
      path: "/index",
      name: "Index",
      component: Index
    }
  ]
});
